package org.hughie.springframework.test.event;

import org.hughie.springframework.context.event.ApplicationContextEvent;

/**
 * @author hughie.cheng
 * @since 2023/9/19
 */
public class CustomEvent extends ApplicationContextEvent {
    private String id;

    private String message;

    public CustomEvent(Object source, String id, String message) {
        super(source);
        this.id = id;
        this.message = message;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
